home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / mac / ch25 / 25fig10.wrl < prev    next >
Text File  |  1996-09-23  |  657b  |  30 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Shape {
  6.     appearance Appearance {
  7.         material Material { diffuseColor 1.0 1.0 1.0 }
  8.         texture ImageTexture { url "stonewal.jpg" }
  9.     }
  10.     geometry IndexedFaceSet {
  11.         coord Coordinate {
  12.             point [
  13.                 -5.0 0.0 0.0, -1.5 0.0 0.0,
  14.                 -1.5 2.5 0.0,  1.5 2.5 0.0,
  15.                  1.5 0.0 0.0,  5.0 0.0 0.0,
  16.                  5.0 3.5 0.0, -5.0 3.5 0.0,
  17.             ]
  18.         }
  19.         texCoord TextureCoordinate {
  20.             point [
  21.                 0.0 0.0,  0.7 0.0,  0.7 0.7,  1.3 0.7,
  22.                 1.3 0.0,  2.0 0.0,  2.0 1.0,  0.0 1.0
  23.             ]
  24.         }
  25.         coordIndex [ 0, 1, 2, 3, 4, 5, 6, 7 ]
  26.         convex FALSE
  27.         solid FALSE
  28.     }
  29. }
  30.